package com.black.app.mapper.exercise;

import com.black.app.domain.exercise.AppExerciseSeries;
import com.black.app.domain.exercise.AppExericseFavorites;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
* @author L
* @description 针对表【app_exericse_favorites】的数据库操作Mapper
* @createDate 2024-11-06 16:36:56
* @Entity com.black.app.domain.exercise.AppExericseFavorites
*/
public interface AppExericseFavoritesMapper extends BaseMapper<AppExericseFavorites> {

    /**
     * 根据用户id查询收藏的锻炼
     * @param userId
     * @return
     */
    List<AppExerciseSeries> findFavoritesByUId(Long userId);
}




